package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Organization;
import cn.wolfcode.crm.query.ObjectQuery;
import cn.wolfcode.crm.query.PageResult;

import java.util.List;


public interface IOrganizationService {
    void save(Organization record);

    void delete(Long id);

    void update(Organization record);

    Organization get(Long id);

    List<Organization> getAll();


    PageResult<Organization> query(ObjectQuery qo);


    /*改变状态*/
    void changState(Long id);

    List<Organization> selectAll();
    /*查询机构信息*/
    List<Organization> queryOrg();
}
